package org.finegold.core.pay.unionpay.enums;

public enum TradeType {
    /**
     * 微信支付宝电脑端支付
     */
	QRPAYDEFAULT("QRPAYDEFAULT","https://api-mop.chinaums.com/v1/netpay/bills/get-qrcode","http://58.247.0.18:29015/v1/netpay/bills/get-qrcode"),
    /**
     * 支付宝H5支付
     */
	ALIH5DEFAULT("H5DEFAULT", "https://api-mop.chinaums.com/v1/netpay/trade/h5-pay","：http://58.247.0.18:29015/v1/netpay/trade/h5-pay"),

	/**
	 * 支付宝app支付
	 */
	ALIAPPDEFAULT("APPDEFAULT", "https://api-mop.chinaums.com/v1/netpay/trade/app-pre-order","http://58.247.0.18:29015/v1/netpay/trade/app-pre-order"),

	/**
	 * 关闭订单
	 */
	CLOSE("CLOSE", "https://api-mop.chinaums.com/v1/netpay/close","http://58.247.0.18:29015/v1/netpay/close"),

	/**
	 * 关闭扫码订单
	 */
	CLOSE_QRCODE("CLOSE_QRCODE", "https://api-mop.chinaums.com/v1/netpay/bills/close-qrcode","http://58.247.0.18:29015/v1/netpay/bills/close-qrcode");

	TradeType(String tradeType, String url,String testUrl) {
        this.tradeType = tradeType;
        this.url = url;
        this.testUrl = testUrl;
    }

    /**
     * 交易类型
     */
    private  String tradeType;

    private  String url;

    private  String testUrl;

	public String getTradeType() {
		return tradeType;
	}

	public void setTradeType(String tradeType) {
		this.tradeType = tradeType;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getTestUrl() {
		return testUrl;
	}

	public void setTestUrl(String testUrl) {
		this.testUrl = testUrl;
	}
}
